@layout("/common/_form.html",{js:["/assets/project/projectMemberWork_add_user_self.js"]}){

<form class="layui-form" id="projectMemberWorkForm" lay-filter="projectMemberWorkForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">工时信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">项目ID<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="projectId" name="projectId" placeholder="请输入项目ID" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">记录日期<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="workDate" value="${current}" name="workDate" placeholder="请输入记录日期" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-inline layui-col-md12">
                            <label class="layui-form-label">温馨提示：</label>
                            <div class="layui-form-mid layui-word-aux">填写时如没有您当前从事的项目请联系您的项目经理。</div>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">项目A<span style="color: red;">*</span></label>
                            <div class="layui-input-block">
                                <select name="projectA" lay-search="" id="projectA" lay-verify="required" required>
                                    <option value="">直接选择或搜索选择</option>
                                    @for(item in myProjects){
                                    <option value="${item.projectId}">${item.projectName}</option>
                                    @}
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6">
                            <div class="layui-input-inline" style="margin-left: 10px;">
                                <input id="workHourA" name="workHourA"size="2" placeholder="法定工作时长(单位：小时)" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
                            </div>
                            <div class="layui-input-inline">
                                <input id="overtimeHourA" name="overtimeHourA"size="2" placeholder="加班时长(单位：小时)" type="text" class="layui-input" autocomplete="off"/>
                            </div>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">项目B</label>
                            <div class="layui-input-block">
                                <select name="projectB" lay-search="" id="projectB" >
                                    <option value="">直接选择或搜索选择</option>
                                    @for(item in myProjects){
                                    <option value="${item.projectId}">${item.projectName}</option>
                                    @}
                                </select>
                                <!--                            <input id="userId" name="userId" placeholder="请输入用户ID" type="text" class="layui-input" lay-verify="required" required/>-->
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6">
                            <div class="layui-input-inline" style="margin-left: 10px;">
                                <input id="workHourB" name="workHourB" size="2" placeholder="法定工作时长(单位：小时)" type="text" class="layui-input"  autocomplete="off"/>
                            </div>
                            <div class="layui-input-inline">
                                <input id="overtimeHourB" name="overtimeHourB"size="2" placeholder="加班时长(单位：小时)" type="text" class="layui-input" autocomplete="off"/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-row">
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">项目C</label>
                            <div class="layui-input-block">
                                <select name="projectC" lay-search="" id="projectC" >
                                    <option value="">直接选择或搜索选择</option>
                                    @for(item in myProjects){
                                    <option value="${item.projectId}">${item.projectName}</option>
                                    @}
                                </select>
                                <!--                            <input id="userId" name="userId" placeholder="请输入用户ID" type="text" class="layui-input" lay-verify="required" required/>-->
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6">
                            <div class="layui-input-inline" style="margin-left: 10px;">
                                <input id="workHourC" name="workHourC" size="2" placeholder="法定工作时长(单位：小时)" type="text" class="layui-input"  autocomplete="off"/>
                            </div>
                            <div class="layui-input-inline">
                                <input id="overtimeHourC" name="overtimeHourC"size="2" placeholder="加班时长(单位：小时)" type="text" class="layui-input" autocomplete="off"/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-row">
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">项目D</label>
                            <div class="layui-input-block">
                                <select name="projectD" lay-search="" id="projectD" >
                                    <option value="">直接选择或搜索选择</option>
                                    @for(item in myProjects){
                                    <option value="${item.projectId}">${item.projectName}</option>
                                    @}
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6">
                            <div class="layui-input-inline" style="margin-left: 10px;">
                                <input id="workHourD" name="workHourD" size="2" placeholder="法定工作时长(单位：小时)" type="text" class="layui-input"  autocomplete="off"/>
                            </div>
                            <div class="layui-input-inline">
                                <input id="overtimeHourD" name="overtimeHourD"size="2" placeholder="加班时长(单位：小时)" type="text" class="layui-input" autocomplete="off"/>
                            </div>
                        </div>
                    </div>

                    <div class="layui-row">
                        <div class="layui-inline layui-col-md6">
                            <label class="layui-form-label">项目E</label>
                            <div class="layui-input-block">
                                <select name="projectE" lay-search="" id="projectE" >
                                    <option value="">直接选择或搜索选择</option>
                                    @for(item in myProjects){
                                    <option value="${item.projectId}">${item.projectName}</option>
                                    @}
                                </select>
                                <!--                            <input id="userId" name="userId" placeholder="请输入用户ID" type="text" class="layui-input" lay-verify="required" required/>-->
                            </div>
                        </div>
                        <div class="layui-inline layui-col-md6">
                            <div class="layui-input-inline" style="margin-left: 10px;">
                                <input id="workHourE" name="workHourE" size="2" placeholder="法定工作时长(单位：小时)" type="text" class="layui-input"  autocomplete="off"/>
                            </div>
                            <div class="layui-input-inline">
                                <input id="overtimeHourE" name="overtimeHourE"size="2" placeholder="加班时长(单位：小时)" type="text" class="layui-input" autocomplete="off"/>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}